package com.xywy.tangandroid.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.xywy.tangandroid.R;
import com.xywy.tangandroid.base.BaseActivity;
import com.xywy.tangandroid.util.Constant;

/**
 * *****************************************
 * 
 * @Title: IntroducAct.java
 * @Package com.xywy.tangandroid.activity
 * @Description: TODO(引导页)
 * @author smz
 * @date 2014-12-9 上午11:25:37
 * @version V1.0
 ******************************************* 
 */
public class IntroducAct extends BaseActivity {

	private TextView experience_text;

	@Override
	protected void initView(Bundle savedInstanceState) {
		setContentView(R.layout.act_introduc);

		experience_text = (TextView) findViewById(R.id.experience_text);
	}

	@Override
	protected void initListener() {
		experience_text.setOnClickListener(this);
	}

	@Override
	protected void initData() {

	}

	@Override
	public void onClick(View v) {
		super.onClick(v);
		switch (v.getId()) {
		case R.id.experience_text:
			Constant.saveFirstLogin(context, 1+"");
			Intent intent=new Intent(context, LoginAct.class);
			startActivity(intent);
			finish();
			
			
			break;

		default:
			break;
		}
	}
}
